package com.competition.reception.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 知识竞赛用户表
 * </p>
 *
 * @author testjava
 * @since 2021-04-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="UserCompetition对象", description="知识竞赛用户表")
public class UserCompetition implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "竞赛编号")
    private String examinationId;

    @ApiModelProperty(value = "参与竞赛用户id")
    private String userId;

    @ApiModelProperty(value = "用户参加该竞赛所得分数")
    private Integer score;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date modifiedTime;


}
